using SharpKit.JavaScript;

namespace SharpKit.Rx
{
	[SharpKit.JavaScript.JsEnum(ValuesAsNames=true)]
	public enum NotificationKind
	{
		OnNext,
		OnError,
		OnComplete
	}
	[SharpKit.JavaScript.JsType(Name="Rx.Notification",Mode=SharpKit.JavaScript.JsMode.Prototype,Export=false,IgnoreGenericMethodArguments=true,AutomaticPropertiesAsFields=true,IgnoreGenericTypeArguments=true,PropertiesAsFields=true)]

	public class Notification<T>
	{
		public NotificationKind Kind;
		public T Value;
		public JsError Error;

		public Notification(string kind, T value)
		{
		}

		public Notification(string kind)
		{
		}
	}
}